<?php

class Fw_View extends Fw_Config
{
	public $module;
	public $display;
	
	protected function setModuleName($module)
	{
		Zend_Registry::set('module', $module);
	}
	
	protected function setTemplatePath($module)
	{
		$this->setModuleName($module);
		$view = Zend_Layout::getMvcInstance();
		$view->getView()->addScriptPath(PROJECT_PATH .'views/');
	}

	protected function setDisplay($display)
	{
		$this->_helper->layout->setLayout($display);
	}
}